// 企业信息
import { getFormatterPrice } from '@const/filter'
// 列表--搜索字段
export const indexSearchData = [
  {
    key: 'enterpriseName',
    title: '医疗机构',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'startTime',
    title: '创建时间',
    type: 'time',
    fieldname: ['beginDate', 'endDate'],
    attr: {
      style: 'width:270px !important;',
      class: 'daterange',
      type: 'daterange',
      'start-placeholder': '开始时间',
      'end-placeholder': '结束时间',
      'default-time': ['00:00:00', '23:59:59']
    }
  }
]
// 列表--列表表头
export const indexTableData = [
  { type: 'index', label: '序号', width: 60 },
  { prop: 'enterpriseName', label: '医疗机构', 'min-width': 170 },
  { prop: 'stopCount', label: '申请产品数量', width: 180, 'show-overflow-tooltip': true },
  { prop: 'contactName', label: '联系人', width: 180 },
  { prop: 'contactNumber', label: '联系方式', width: 180 },
  { prop: 'createdAt', label: '创建时间', width: 180 },
  { prop: 'createdBy', label: '操作人', width: 150 },
  { prop: 'history', label: '审核历史', width: 150 },
  {
    prop: 'authState',
    label: '准入状态',
    width: 150,
    formatter: row => {
      return statusArr[row.authState]
    }
  },
  { prop: 'action', label: '操作', width: 130, fixed: 'right' }
]

export const defaultImgUrl = 'http://cache.5ikfc.com/imgs/kfc/2014/05/quanjiatong.jpg'
// 准入状态
export const statusArr = {
  2: '待审核',
  5: '已驳回',
  3: '审核通过',
  4: '已终止',
  1: '草稿'
}
// 列表页-tab
export const indexTabsArr = [
  { lab: '待审核', val: 2, badge: { value: null } },
  { lab: '审核通过', val: 3, badge: { value: null } },
  { lab: '已终止', val: 4, badge: { value: null } },
  { lab: '已驳回', val: 5, badge: { value: null } },
  { lab: '草稿', val: 1, badge: { value: null } },
  { lab: '全部', val: -1, badge: { value: null } }
]
//   审核历史表头
export const historyTableData = [
  { type: 'index', label: '序号', width: 60 },
  { prop: 'role', label: '角色名称', 'min-width': 170, 'show-overflow-tooltip': true },
  { prop: 'user', label: '用户', width: 120, 'show-overflow-tooltip': true },
  { prop: 'opeartion', label: '操作', width: 150 },
  { prop: 'operateTime', label: '日期', width: 150 },
  { prop: 'remark', label: '备注', width: 150, 'show-overflow-tooltip': true }
]

// -----申请准入产品相关-----
// 搜索字段
export const searchDataForm = [
  {
    key: 'registNo',
    title: '注册证号',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'hosProdCode',
    title: '院内编码',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'distributorProdCode',
    title: '产品编码',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'chName',
    title: '产品名称',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'manufacturerName',
    title: '生产厂家',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  }
]
// 列表--产品表头(按产品查看)
export const productColumns = [
  { type: 'index', label: '序号', width: 60 },
  { prop: 'hosProdCode', label: '院内编码', 'min-width': 200 },
  { prop: 'chName', label: '产品名称', 'min-width': 180, 'show-overflow-tooltip': true },
  { prop: 'spec', label: '规格', width: 180 },
  { prop: 'model', label: '型号', width: 180 },
  { prop: 'unit', label: '最小单位', width: 90 },
  { prop: 'price', label: '单价（元）', width: 150 },
  { prop: 'registNo', label: '注册证号', width: 150 },
  { prop: 'manufacturerName', label: '生产厂家', width: 150 },
  { prop: 'distributorProdCode', label: '自定义产品编码', width: 150 },
  { prop: 'upEnterpriseName', label: '供应商', width: 150 },
  { prop: 'platCode', label: '平台编码', width: 150 },
  { prop: 'qualificationView', label: '查看资质', width: 90, fixed: 'right' },
  { prop: 'history', label: '历史记录', width: 90, fixed: 'right' }
]
// 企业的信息
export const enterpriseInfo = [
  [
    { key: 'fullName', label: '企业名称:' },
    { key: 'unifiedSocialCreditCode', label: '统一社会信用代码:' },
    { key: 'linkMan', label: '联系人:' }
  ],
  [
    { key: 'linkPhone', label: '联系电话:' },
    { key: 'linkManEmail', label: '联系人邮箱:' },
    { key: 'country', label: '国家:' }
  ],
  [
    { key: 'addressDetail', span: 20, label: '所属地区:' }
  ],
  [
    { key: 'businessScope', span: 20, label: '经营业务范围:', show: true }
  ],
  [
    { key: 'receiveAddress', span: 20, label: '收货地址:' }
  ],
  [
    { key: 'address', span: 20, label: '公司地址:' }
  ],
  [
    { key: 'businessScopeDes', span: 20, label: '经营范围:' }
  ]
]
export const dialogEnterpriseInfo = [
  [{
    label: '企业名称',
    key: 'fullName'
  },
  {
    label: '统一社会信用代码',
    key: 'unifiedSocialCreditCode'
  }],
  [{
    label: '联系人',
    key: 'linkMan'
  },
  {
    label: '联系电话',
    key: 'linkPhone'
  }],
  [{
    label: '联系人邮箱',
    key: 'linkManEmail'
  },
  {
    label: '国家',
    key: 'country'
  }],
  [{
    label: '所属地区',
    key: 'addressDetail'
  }, {
    label: '经营业务范围',
    key: 'businessScope',
    show: true
  }], [{
    label: '收件地址',
    key: 'receiveAddress'
  },
  {
    label: '公司地址',
    key: 'address'
  }], [{
    label: '经营范围',
    key: 'businessScopeDes'
  }]
]
// 经营业务范围
export const businessScope = [
  {
    key: '1',
    label: '一类医疗器械'
  },
  {
    key: '2',
    label: '二类医疗器械'
  },
  {
    key: '3',
    label: '三类医疗器械'
  }
]
// 财务信息
export const financeInfo = [
  [{
    label: '企业名称',
    key: 'companyName'
  },
  {
    label: '统一社会信用代码',
    key: 'unifiedSocialCreditCode'
  },
  {
    label: '公司地址',
    key: 'vatInvoiceAddress'
  }],
  [{
    label: '联系电话',
    key: 'phone'
  },
  {
    label: '对公账户开户银行',
    key: 'accountBankName'
  },
  {
    label: '对公账户开户支行',
    key: 'accountSubbranchBankName'
  }],
  [{
    label: '开户行账号',
    key: 'publicAccountNumber'
  }]
]
export const dialogFinanceInfo = [
  [{
    label: '企业名称',
    key: 'companyName'
  },
  {
    label: '统一社会信用代码',
    key: 'unifiedSocialCreditCode'
  }],
  [{
    label: '公司地址',
    key: 'vatInvoiceAddress'
  },
  {
    label: '联系电话',
    key: 'phone'
  }],
  [{
    label: '对公账户开户银行',
    key: 'accountBankName'
  },
  {
    label: '对公账户开户支行',
    key: 'accountSubbranchBankName'
  }],
  [{
    label: '开户行账号',
    key: 'publicAccountNumber'
  }]
]
// 补充信息
export const addInfo = [
  [{
    label: '企业简称',
    key: 'shortName'
  },
  {
    label: '企业电话',
    key: 'companyPhone'
  },
  {
    label: '企业邮编',
    key: 'postCode'
  }],
  [{
    label: '企业邮箱',
    key: 'email'
  },
  {
    label: '成立日期',
    key: 'createDate'
  },
  {
    label: '法定代表人',
    key: 'president'
  }],
  [{
    label: '法定代表人电话',
    key: 'presidentPhone'
  }, {
    label: '法定代表人邮箱',
    key: 'presidentEmail'
  }, {
    label: '公司简介',
    key: 'introduce'
  }]
]
export const saleOrderInfo = [
  [{
    label: '销售员',
    key: 'name'
  },
  {
    label: '手机号',
    key: 'phone'
  },
  {
    label: '联系人邮箱',
    key: 'mail'
  }]
]
// 销售员信息  详情页面
export const salespersonInfo = [
  [{
    label: '销售员',
    key: 'name'
  },
  {
    label: '手机号',
    key: 'phone'
  },
  {
    label: '联系人邮箱',
    key: 'mail'
  }]
]
// 销售员身份证信息 详情页面 formatter: row => `${row.specification || row.productType ? `${row.specification} ${row.productType}` : ''}`
export const salespersonIdCard = [
  [{
    label: '姓名',
    key: 'name'
  },
  {
    label: '性别',
    key: 'gender'
  },
  {
    label: '民族',
    key: 'nation'
  }],
  [{
    label: '出生日期',
    key: 'birthDate'
  },
  {
    label: '公民身份证号',
    key: 'identityId'
  },
  {
    label: '住址',
    key: 'address'
  }],
  [{
    label: '签发机关',
    key: 'issueOffice'
  },
  {
    label: '有效期限',
    key: 'dateRanges'
    // formatter: row => `${row.startDate || row.endDate ? `${row.startDate} ${row.endDate}` : ''}`
  }]
  // startDate endDate
]
// 新增企业信息的字段
export const idInfo = [
  [{
    label: '姓名',
    key: 'name'
  },
  {
    label: '性别',
    key: 'gender'
  },
  {
    label: '民族',
    key: 'nation'
  }],
  [{
    label: '出生',
    key: 'birthDate'
  },
  {
    label: '公民身份证号',
    key: 'identityId'
  },
  {
    label: '住址',
    key: 'address'
  }],
  [{
    label: '签发机关',
    key: 'issueOffice'
  },
  {
    label: '有效期限',
    key: 'dateRanges'
  }]
]
export const commonProductListSearchForm = [
  {
    key: 'prodName',
    title: '产品名称',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'companyProdCode',
    title: '产品编码',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'supplierName',
    title: '供应商',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'manufacturer',
    title: '生产厂家',
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  },
  {
    key: 'registNo',
    title: '注册证号', // 1
    type: 'input',
    attr: {
      placeholder: '请输入'
    }
  }
]
export const dialogColumns = [
  { type: 'selection', width: '50' },
  { minWidth: '150', prop: 'code', label: '产品编码' },
  { minWidth: '150', prop: 'chName', label: '产品名称', 'show-overflow-tooltip': true },
  { minWidth: '150', prop: 'spec', label: '规格', 'show-overflow-tooltip': true },
  { minWidth: '150', prop: 'model', label: '型号', 'show-overflow-tooltip': true },
  { width: '80', prop: 'unit', label: '最小单位' },
  { width: '150', prop: 'price', label: '单价 （元）' },
  { minWidth: '180', prop: 'registerNo', label: '注册证号/备案证号2' },
  { minWidth: '150', prop: 'manufacturerName', label: '生产厂家' },
  { width: '150',
    prop: 'bigType',
    label: '产品大类',
    formatter: row => PRODUCT_CATEGORY[row.bigType] },
  { width: '150', prop: 'upEnterpriseName', label: '供应商' }, // 我是添加产品的 字段不同
  { width: '150', prop: 'platCode', label: '平台产品编码' },
  { width: '150', prop: 'hosCode', label: '医疗机构产品编码' } // 1
]
// 产品大类
export const PRODUCT_CATEGORY = {
  1: '高值',
  2: '低值',
  3: '试剂',
  4: '设备',
  5: '低值'
}
export const responseAddColumns = [
  { type: 'selection', width: '50' },
  {
    prop: 'hosProdCode',
    label: '院内编码',
    width: 280,
    'show-overflow-tooltip': true
  },
  {
    prop: 'chName',
    label: '产品名称',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'spec',
    label: '规格',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'model',
    label: '型号',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'unit',
    label: '最小单位',
    width: 100
  },
  {
    prop: 'price',
    label: '单价(元)',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'registerNo',
    label: '注册证号',
    'min-width': 180,
    'show-overflow-tooltip': true
  },
  {
    prop: 'productionFactory',
    label: '生产厂家',
    'min-width': 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'distributorProdCode',
    label: '产品编码',
    width: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'supplier',
    label: '供应商',
    width: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'proCode',
    label: '平台编码',
    width: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'qualiFication',
    label: '查看资质',
    width: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'action',
    label: '操作',
    width: 150
  }
]
// 查看产品资质表头
export const seeProductQuailficationColumns = [
  {
    prop: 'hosCode',
    label: '院内编码',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'chName',
    label: '产品名称',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'spec',
    label: '规格',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'model',
    label: '型号',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'unit',
    label: '最小单位',
    width: 100
  },
  {
    prop: 'price',
    label: '单价(元)',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'registerNo',
    label: '注册证号',
    'min-width': 180,
    'show-overflow-tooltip': true
  },
  {
    prop: 'manufacturerName',
    label: '生产厂家',
    'min-width': 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'productionAddress',
    label: '产地',
    width: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'upEnterpriseName',
    label: '配送商名称',
    width: 200,
    'show-overflow-tooltip': true
  },
  {
    prop: 'code',
    label: '配送商产品编码',
    width: 200,
    'show-overflow-tooltip': true
  }
]
// 上游企业信息
export const SupplierQualiFicationColumns = [
  {
    prop: 'upEnterpriseName',
    label: '企业名称',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'unifieSocialCreditCode',
    label: '统一社会信用代码',
    width: 180,
    'show-overflow-tooltip': true
  },
  {
    prop: 'linkMan',
    label: '联系人',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'linkPhone',
    label: '联系电话',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'startDate',
    label: '合同起始日期',
    width: 140
  },
  {
    prop: 'endDate',
    label: '截止日期',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'buyPrice',
    label: '企业资质',
    width: 120,
    'show-overflow-tooltip': true
  }
]
// 下游企业信息
export const bottomSupplierQualiFicationColumns = [
  {
    prop: 'upEnterpriseName',
    label: '企业名称',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'unifieSocialCreditCode',
    label: '统一社会信用代码',
    width: 180,
    'show-overflow-tooltip': true
  },
  {
    prop: 'linkMan',
    label: '联系人',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'linkPhone',
    label: '联系电话',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'startDate',
    label: '合同起始日期',
    width: 140
  },
  {
    prop: 'endDate',
    label: '截止日期',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'buyPrice',
    label: '企业资质',
    width: 120,
    'show-overflow-tooltip': true
  }
]
export const disbutorQualiFicationColumns = [
  {
    prop: 'enterpriseName',
    label: '企业名称',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'unifieSocialCreditCode',
    label: '统一社会信用代码',
    width: 180,
    'show-overflow-tooltip': true
  },
  {
    prop: 'linkMan',
    label: '联系人',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'linkPhone',
    label: '联系电话',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'enterpriseQualification',
    label: '企业资质',
    width: 120,
    'show-overflow-tooltip': true
  }
]
export const dialogHistoryColumns = [
  {
    prop: 'platProdCode',
    label: '角色名称',
    width: 150,
    'show-overflow-tooltip': true
  },
  {
    prop: 'code',
    label: '用户',
    width: 150,
    'show-overflow-tooltip': true
  },
  {
    prop: 'qualiFication',
    label: '操作',
    width: 120,
    'show-overflow-tooltip': true
  },
  {
    prop: 'platProdCode',
    label: '日期',
    width: 150,
    'show-overflow-tooltip': true
  },
  {
    prop: 'platProdCode',
    label: '备注',
    width: 170,
    'show-overflow-tooltip': true
  }
]
// 公司类型集合
const companyTypeArr = [
  { label: '国有企业', value: '国有企业' },
  { label: '集体所有制', value: '集体所有制' },
  { label: '私营企业', value: '私营企业' },
  { label: '股份制企业（有限责任公司）', value: '股份制企业（有限责任公司）' },
  { label: '股份制企业（股份有限公司）', value: '股份制企业（股份有限公司）' },
  { label: '有限合伙企业', value: '有限合伙企业' },
  { label: '联营企业', value: '联营企业' },
  { label: '外商投资企业', value: '外商投资企业' },
  { label: '个人独资企业', value: '个人独资企业' },
  { label: '港、澳、台', value: '港、澳、台' },
  { label: '股份合作企业', value: '股份合作企业' }
]
// 营业执照弹出层配置项
export const dialogFormObjbus = {
  title: '新增营业执照',
  width: '560px',
  labelWidth: '150px',
  formStructure: [
    { rules: [{ required: true, message: '请输入公司名称', trigger: 'blur' }], label: '公司名称', type: 'slot', prop: 'companyName' },
    { rules: [{ required: true, message: '请输入公司类型', trigger: 'blur' }], label: '公司类型', type: 'select', prop: 'companyType', option: companyTypeArr },
    { rules: [{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }], label: '统一社会信用代码', type: 'input', prop: 'licenceCode' },
    { rules: [{ required: true, message: '请输入地址类型', trigger: 'blur' }], label: '地址(公司住所)', type: 'textarea', prop: 'companyAddress' },
    { label: '注册资本', type: 'input', prop: 'registeredCapital' },
    { rules: [{ required: true, message: '请输入法定代表人', trigger: 'blur' }], label: '法定代表人', type: 'input', prop: 'president' },
    { rules: [{ required: true, message: '请选择是否长期有效', trigger: 'blur' }], label: '长期有效', mutex: [1, ['endDate']], type: 'select', prop: 'effectiveness', option: [{ label: '否', value: 0 }, { label: '是', value: 1 }] },
    { rules: [{ required: true, message: '请输入有效期限', trigger: 'blur' }], label: '有效期限', type: 'date', prop: 'endDate' },
    { rules: [{ required: true, message: '请输入经营范围', trigger: 'blur' }], label: '经营范围', type: 'textarea', prop: 'businessScope' },
    { rules: [{ required: true, message: '请选择证照附件', trigger: 'blur' }], label: '添加证照附件', type: 'pic', prop: 'url' }
  ]
}
// 经营许可证弹出层配置项
export const dialogFormObjorg = {
  title: '新增医疗器械经营许可证',
  width: '750px',
  formStructure: [
    { rules: [{ required: true, message: '请输入公司名称', trigger: 'blur' }], label: '公司名称', type: 'slot', prop: 'companyName' },
    { rules: [{ required: true, message: '请输入经营方式', trigger: 'change' }], label: '经营方式', type: 'select', prop: 'businessType', option: [{ label: '批发', value: '0' }, { label: '零售', value: '1' }, { label: '批零兼营', value: '2' }] },
    { rules: [{ required: true, message: '请输入许可证编号', trigger: 'blur' }], label: '许可证编号', type: 'input', prop: 'licenceCode' },
    { rules: [{ required: true, message: '请输入法定代表人', trigger: 'blur' }], label: '法定代表人', type: 'input', prop: 'president' },
    { rules: [{ required: true, message: '请输入企业负责人', trigger: 'blur' }], label: '企业负责人', type: 'input', prop: 'personInCharge' },
    { rules: [{ required: true, message: '请选择是否长期有效', trigger: 'blur' }], label: '长期有效', mutex: [1, ['endDate']], type: 'select', prop: 'effectiveness', option: [{ label: '否', value: 0 }, { label: '是', value: 1 }] },
    { rules: [{ required: true, message: '请选择有效期限', trigger: 'blur' }], label: '有效期限', type: 'date', prop: '' },
    { required: true, label: '经营范围(2002版)', type: 'slot', otherProp: 'storageAddressList', prop: 'businessScope' },
    { required: true, label: '经营范围(2017版)', type: 'slot', otherProp: 'storageAddressList', prop: 'businessScopeSecond' },
    { rules: [{ required: true, message: '请输入住所', trigger: 'blur' }], label: '住所', type: 'textarea', prop: 'companyAddress' },
    { rules: [{ required: true, message: '请输入经营场所', trigger: 'blur' }], label: '经营场所', type: 'textarea', prop: 'businessAddress' },
    { rules: [{ required: true, message: '请输入库房地址', trigger: 'blur' }], label: '库房地址', type: 'slot', prop: 'storageAddressList' },
    { rules: [{ required: true, message: '请选择证照附件', trigger: 'blur' }], label: '添加证照附件', type: 'pic', prop: 'url' }
  ]
}
// 新增二类备案凭证
export const dialogFormObjtax = {
  title: '新增第二类医疗器械经营备案凭证',
  width: '750px',
  formStructure: [
    { rules: [{ required: true, message: '请输入公司名称', trigger: 'blur' }], label: '公司名称', type: 'slot', prop: 'companyName' },
    { rules: [{ required: true, message: '请输入备案编号', trigger: 'blur' }], label: '备案编号', type: 'input', prop: 'licenceCode' },
    { rules: [{ required: true, message: '请输入法定代表人', trigger: 'blur' }], label: '法定代表人', type: 'input', prop: 'president' },
    { rules: [{ required: true, message: '请输入企业负责人', trigger: 'blur' }], label: '企业负责人', type: 'input', prop: 'personInCharge' },
    { rules: [{ required: true, message: '请选择经营方式', trigger: 'change' }], label: '经营方式', type: 'select', prop: 'businessType', option: [{ label: '批发', value: '0' }, { label: '零售', value: '1' }, { label: '批零兼营', value: '2' }] },
    { rules: [{ required: true, message: '请选择是否长期有效', trigger: 'blur' }], label: '长期有效', mutex: [1, ['endDate']], type: 'select', prop: 'effectiveness', option: [{ label: '否', value: 0 }, { label: '是', value: 1 }] },
    { rules: [{ required: true, message: '请选择有效期限', trigger: 'blur' }], label: '有效期限', type: 'date', prop: '' },
    { required: true, label: '经营范围(2002版)', type: 'slot', otherProp: 'storageAddressList', prop: 'businessScope' },
    { required: true, label: '经营范围(2017版)', type: 'slot', otherProp: 'storageAddressList', prop: 'businessScopeSecond' },
    { rules: [{ required: true, message: '请输入住所', trigger: 'blur' }], label: '住所', type: 'textarea', prop: 'companyAddress' },
    { rules: [{ required: true, message: '请输入经营场所', trigger: 'blur' }], label: '经营场所', type: 'textarea', prop: 'businessAddress' },
    { rules: [{ required: true, message: '请输入库房地址', trigger: 'blur' }], label: '库房地址', type: 'slot', prop: 'storageAddressList' },
    { rules: [{ required: true, message: '请输入证照附件', trigger: 'blur' }], label: '添加证照附件', type: 'pic', prop: 'url' }
  ]
}
